package com.pansoft.kline.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * @author : zzj
 * @e-mail : zhangzhijun@pansoft.com
 * @date : 2018/11/23 11:42
 * @desc :  资金fragment请求的下来数据的model
 * @version: 1.0
 */
public class DealRealFundRemoteModel implements Serializable {


    private int code;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {


        private FundChartBean fund_chart;
        private TableRecordsBean table_records;
        private DayRecordsBean day_records;
        private List<LargeOrdersBean> large_orders;
        private List<Recent1hourMinutesRecordsBean> recent_1hour_minutes_records;
        private List<TrendRecordsBean> trend_records;

        public FundChartBean getFund_chart() {
            return fund_chart;
        }

        public void setFund_chart(FundChartBean fund_chart) {
            this.fund_chart = fund_chart;
        }

        public TableRecordsBean getTable_records() {
            return table_records;
        }

        public void setTable_records(TableRecordsBean table_records) {
            this.table_records = table_records;
        }

        public DayRecordsBean getDay_records() {
            return day_records;
        }

        public void setDay_records(DayRecordsBean day_records) {
            this.day_records = day_records;
        }

        public List<LargeOrdersBean> getLarge_orders() {
            return large_orders;
        }

        public void setLarge_orders(List<LargeOrdersBean> large_orders) {
            this.large_orders = large_orders;
        }

        public List<Recent1hourMinutesRecordsBean> getRecent_1hour_minutes_records() {
            return recent_1hour_minutes_records;
        }

        public void setRecent_1hour_minutes_records(List<Recent1hourMinutesRecordsBean> recent_1hour_minutes_records) {
            this.recent_1hour_minutes_records = recent_1hour_minutes_records;
        }

        public List<TrendRecordsBean> getTrend_records() {
            return trend_records;
        }

        public void setTrend_records(List<TrendRecordsBean> trend_records) {
            this.trend_records = trend_records;
        }

        public static class FundChartBean {
            /**
             * incomes : 4767901.4331261
             * outputs : 3958422.6328246
             */

            private double incomes;
            private double outputs;

            public double getIncomes() {
                return incomes;
            }

            public void setIncomes(double incomes) {
                this.incomes = incomes;
            }

            public double getOutputs() {
                return outputs;
            }

            public void setOutputs(double outputs) {
                this.outputs = outputs;
            }
        }

        public static class TableRecordsBean {
            /**
             * 24hours : {"incomes":8446767.6667478,"outputs":6961651.8490233}
             * today : {"incomes":4767901.4331261,"outputs":3958422.6328246}
             */

            @SerializedName("24hours")
            private _$24hoursBean _$24hours;
            private TodayBean today;

            public _$24hoursBean get_$24hours() {
                return _$24hours;
            }

            public void set_$24hours(_$24hoursBean _$24hours) {
                this._$24hours = _$24hours;
            }

            public TodayBean getToday() {
                return today;
            }

            public void setToday(TodayBean today) {
                this.today = today;
            }

            public static class _$24hoursBean {
                /**
                 * incomes : 8446767.6667478
                 * outputs : 6961651.8490233
                 */

                private double incomes;
                private double outputs;

                public double getIncomes() {
                    return incomes;
                }

                public void setIncomes(double incomes) {
                    this.incomes = incomes;
                }

                public double getOutputs() {
                    return outputs;
                }

                public void setOutputs(double outputs) {
                    this.outputs = outputs;
                }
            }

            public static class TodayBean {
                /**
                 * incomes : 4767901.4331261
                 * outputs : 3958422.6328246
                 */

                private double incomes;
                private double outputs;

                public double getIncomes() {
                    return incomes;
                }

                public void setIncomes(double incomes) {
                    this.incomes = incomes;
                }

                public double getOutputs() {
                    return outputs;
                }

                public void setOutputs(double outputs) {
                    this.outputs = outputs;
                }
            }
        }

        public static class DayRecordsBean {
            /**
             * 2018-11-20 : -493447.9793508
             * 2018-11-21 : -1231949.6168725
             * 2018-11-22 : 503683.32618621
             * 2018-11-23 : 388289.3823559
             * 2018-11-24 : 809478.80030146
             */

            @SerializedName("2018-11-20")
            private double _$20181120;
            @SerializedName("2018-11-21")
            private double _$20181121;
            @SerializedName("2018-11-22")
            private double _$20181122;
            @SerializedName("2018-11-23")
            private double _$20181123;
            @SerializedName("2018-11-24")
            private double _$20181124;

            public double get_$20181120() {
                return _$20181120;
            }

            public void set_$20181120(double _$20181120) {
                this._$20181120 = _$20181120;
            }

            public double get_$20181121() {
                return _$20181121;
            }

            public void set_$20181121(double _$20181121) {
                this._$20181121 = _$20181121;
            }

            public double get_$20181122() {
                return _$20181122;
            }

            public void set_$20181122(double _$20181122) {
                this._$20181122 = _$20181122;
            }

            public double get_$20181123() {
                return _$20181123;
            }

            public void set_$20181123(double _$20181123) {
                this._$20181123 = _$20181123;
            }

            public double get_$20181124() {
                return _$20181124;
            }

            public void set_$20181124(double _$20181124) {
                this._$20181124 = _$20181124;
            }
        }

        public static class LargeOrdersBean {
            /**
             * type : 1
             * amount : 2.3591
             * usd_price : 4383.4975125581
             * time : 2018-11-24 14:33:37
             */

            private int type;
            private double amount;
            private double usd_price;
            private String time;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public double getAmount() {
                return amount;
            }

            public void setAmount(double amount) {
                this.amount = amount;
            }

            public double getUsd_price() {
                return usd_price;
            }

            public void setUsd_price(double usd_price) {
                this.usd_price = usd_price;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }
        }

        public static class Recent1hourMinutesRecordsBean {
            /**
             * total_fund : 12487.977871736
             * incomes : 15322.402426144
             * outputs : 2834.4245544077
             * time : 2018-11-24 13:44
             */

            private double total_fund;
            private double incomes;
            private double outputs;
            private String time;

            public double getTotal_fund() {
                return total_fund;
            }

            public void setTotal_fund(double total_fund) {
                this.total_fund = total_fund;
            }

            public double getIncomes() {
                return incomes;
            }

            public void setIncomes(double incomes) {
                this.incomes = incomes;
            }

            public double getOutputs() {
                return outputs;
            }

            public void setOutputs(double outputs) {
                this.outputs = outputs;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }
        }

        public static class TrendRecordsBean {
            /**
             * total_fund : -31673.796157301
             * incomes : 0
             * outputs : 31673.796157301
             * time : 2018-11-24 09:02
             */

            private double total_fund;
            private double incomes;
            private double outputs;
            private String time;

            public double getTotal_fund() {
                return total_fund;
            }

            public void setTotal_fund(double total_fund) {
                this.total_fund = total_fund;
            }

            public double getIncomes() {
                return incomes;
            }

            public void setIncomes(double incomes) {
                this.incomes = incomes;
            }

            public double getOutputs() {
                return outputs;
            }

            public void setOutputs(double outputs) {
                this.outputs = outputs;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }
        }
    }
}
